/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.floor.service.impl;

import iaas.enums.StatusEnum;
import iaas.service.impl.BaseServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.wealth.floor.entity.PcFloor;
import com.wealth.floor.repository.PcFloorDao;
import com.wealth.floor.service.IPcFloorService;
import com.wealth.floor.vo.FloorVO;

/**
 * @author chan
 * @version 1.0
 * @since 1.0
 */
 
@Component
public class PcFloorServiceImpl extends BaseServiceImpl<PcFloor> implements IPcFloorService{

	@Autowired
	private PcFloorDao pcFloorDao;

	@Override
	public List<PcFloor> getFloorAll() throws Exception {
		return pcFloorDao.findByStatusOrderBySortnoAsc(StatusEnum.NORMAL.getValue());
	}
	
	
	public List<FloorVO> FloorToVO(List<PcFloor> floorList){
		return null;
	}
	
}
